package com.zimin.cloud.system.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zimin.mapper.pojo.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

/**
 * <p>
 * 参数配置表
 * </p>
 *
 * @author zimin
 * @since 2021-12-30 11:05
 */
@Getter
@Setter
@TableName("sys_config")
@ApiModel(value = "Config对象", description = "参数配置表")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Config extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("参数名称")
    @TableField("config_name")
    private String configName;

    @ApiModelProperty("参数键名")
    @TableField("config_key")
    private String configKey;

    @ApiModelProperty("参数键值")
    @TableField("config_value")
    private String configValue;

    @ApiModelProperty("系统内置（Y是 N否)")
    @TableField("config_type")
    private String configType;

    @ApiModelProperty("状态(1 正常 0 停用)")
    @TableField("status")
    private Boolean status;

    @ApiModelProperty("删除标志(0 正常 1删除)")
    @TableField("is_delete")
    @TableLogic
    private Boolean delete;

    @ApiModelProperty("创建人")
    @TableField("create_by")
    private String createBy;

    @ApiModelProperty("更新人")
    @TableField("update_by")
    private String updateBy;


}
